
import ajax from '../../../../../grsc-base/util/ajax';

export default {

    /**
     * 查看自己的邀请码
     * @param param
     * @returns {*}
     */
    getInviteCode(data) {
        return ajax.get('/exchangeApi/bonus-point/getInviteCode', data)
    },
    /**
     * 查看我的邀请码邀请列表
     * @param param
     * @returns {*}
     */
    UserCode(param = {}) {
        return ajax.get('/exchangeApi/member/userInviteRelateFriend', {
            data: param,
        })
    },
     /**
     * 查看团队列表
     * @param param
     * @returns {*}
     */
    getMember(param = {}) {
        return ajax.get('/exchangeApi/member/userInviteRelateTeam',{
            data: param,
        })
    },

}